package list;

import java.util.List;
import java.util.stream.Collectors;

public class ListCopyUtils {

    public static List<String> copyFieldToNewList(List<School> schools) {
        return schools.stream().map(School::getName).collect(Collectors.toList());
    }

}
